package com.zy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class ForwordController {
    //rest风格
    @GetMapping("/{folder}/{page}/index")
    public String index(@PathVariable("folder") String folder, @PathVariable("page") String page){
        return folder+"/"+page;
    }
}
